import request from "@/servives/index.js"

class cart {
  // 获取购物车列表
  static getClubsList = (params) => request.get("shoppingcart/list",{params})
  // 商品购买数量增减
  static getcartnum = (params) => request.get("/shoppingcart/updateNum",{params})
  //商品删除
  static delcart = (params) => request.get("/shoppingcart/deleteShopCart",{params})
  //添加到购物车
  static addcart = (params) => request.get("/shoppingcart/addShopCart",{params})
  
}


export default cart